package com.gistone.commis.entity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;


import java.util.Date;
/**
 * Created by wangfan on 2017/5/12.
 */
@Setter
@Getter
@ToString
//@AllArgsConstructor
@NoArgsConstructor
public class SWage {
    private Integer swageId;

    private Integer personId;

    private Integer communityId;
    private Community community;

    private Integer departId;
    private  Depart depart;

    private Integer userId;
    private  User user;

    private String personName;

    private Double basicSalary;

    private Double qdnxSub;

    private Double dsznSub;

    private Double postSalary;

    private Double espSub;

    private Double tecSalary;

    private Double workSub;

    private Double existSub;

    private Double monthBonus;

    private Double perBonus;

    private Double backPay;

    private Double leaveDed;

    private Double pension;

    private Double medicare;

    private Double unemployment;

    private Double providentFund;

    private Double incomeTax;

    private Double supPf;

    private Double supI;

    private Double sumSup;

    private Double sumWage;

    private Double sumSWage;

    private Integer wageMonth;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date registerTime;

    private Double zwnxbt;

    private String reserveB;

    private Integer wageYear;

    public SWage(Integer swageId, Integer personId, Integer communityId, Integer departId, Integer userId, String personName, Double basicSalary, Double qdnxSub, Double dsznSub, Double postSalary, Double espSub, Double tecSalary, Double workSub, Double existSub, Double monthBonus, Double perBonus, Double backPay, Double leaveDed, Double pension, Double medicare, Double unemployment, Double providentFund, Double incomeTax, Double supPf, Double supI, Double sumSup, Double sumWage, Double sumSWage, Integer wageMonth, Date registerTime, Double zwnxbt, String reserveB, Integer wageYear) {
        this.swageId = swageId;
        this.personId = personId;
        this.communityId = communityId;
        this.departId = departId;
        this.userId = userId;
        this.personName = personName;
        this.basicSalary = basicSalary;
        this.qdnxSub = qdnxSub;
        this.dsznSub = dsznSub;
        this.postSalary = postSalary;
        this.espSub = espSub;
        this.tecSalary = tecSalary;
        this.workSub = workSub;
        this.existSub = existSub;
        this.monthBonus = monthBonus;
        this.perBonus = perBonus;
        this.backPay = backPay;
        this.leaveDed = leaveDed;
        this.pension = pension;
        this.medicare = medicare;
        this.unemployment = unemployment;
        this.providentFund = providentFund;
        this.incomeTax = incomeTax;
        this.supPf = supPf;
        this.supI = supI;
        this.sumSup = sumSup;
        this.sumWage = sumWage;
        this.sumSWage = sumSWage;
        this.wageMonth = wageMonth;
        this.registerTime = registerTime;
        this.zwnxbt = zwnxbt;
        this.reserveB = reserveB;
        this.wageYear = wageYear;
    }

}